﻿/*****************************************介绍*****************************************
 * 作者：24531
 * 创建时间：2025-09-04 23:25:17
 * 功能：界面【ShufflePanle】的View
        1、负责收集所有控件
**************************************************************************************/


namespace Game.UI.ShufflePanle
{
    public class ShufflePanleView : ItemPanelView
    {
        public const string PANEL_KEY = "Game_UI_ShufflePanle_ShufflePanle_Key";

        protected override ETriggerAdType GetAdTriggerType() => ETriggerAdType.Shuffle;

        protected override string GetPanelKey() => PANEL_KEY;

        protected override void DistributeAdRewards()
        {
            GameDataMgr.Instance.ShuffleRemainCount = GameDataMgr.Instance.ShuffleRemainCount + 1;
        }

        protected override int GetNeedCoins() => BaseDataMgr.Instance.Cfg.props.shuffle.cost;
    }
}